home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / magicwb / snapshot ram-icon < prev    next >
Text File  |  1980-06-28  |  3KB  |  77 lines

  1. failat 21
  2.  
  3. if not exists XEN-Icons
  4.   echo "*n Please change current directory to that of MagicWB *n or start the installation from the Workbench!*n"
  5.   quit
  6. endif
  7.  
  8. echo "*n*e[1;32m _____________________________________________________________________"
  9. echo " *e[43m                                                                     *e[0m"
  10. echo " *e[0;32;43m             Welcome to MagicWB v1.2p: RAM-Icon SNAPSHOT*e[1m             *e[0m"
  11. echo " *e[1;4;43m                                                                     *e[0m"
  12. echo "*n*n This script should be started AFTER the main installation of *e[32mMagicWB*e[0m!"
  13. echo "*n If you do not like the position of the RAM-Icon on your Workbench you" 
  14. echo " could obviously drag the Icon to your desired position and select the"
  15. echo " function `Icons/Snapshot' from the Workbench menu. But the next time"
  16. echo " when you reboot your system you'll find the RAM-Icon NOT at your"
  17. echo " previous snapshot-position!"
  18. echo "*n Well, this script provides the solution for all of you who do not"
  19. echo " exactly know how to preserve the snapshot-position even after a"
  20. echo " reboot:"
  21. echo "*E[32m*n Just drag the RAM-Icon to your desired position, then snapshot the"
  22. echo " Icon with the function `Icons/Snapshot' from the Workbench menu and"
  23. echo " finally start this script with 'yes' or 'y'.*e[0m"
  24. echo noline "*n Start the RAM-Icon snapshot? "
  25.  
  26. set > nil: InpVar ?
  27.  
  28. if $InpVar eq "ja"
  29.   skip Start
  30. endif
  31.  
  32. if $InpVar eq "j"
  33.   skip Start
  34. endif
  35.  
  36. if $InpVar eq "y"
  37.   skip Start
  38. endif
  39.  
  40. if $InpVar eq "yes"
  41.   skip Start
  42. endif
  43.  
  44. echo noline "*n*e[32m Snapshot aborted."
  45. quit
  46.  
  47. lab Start
  48.  
  49. if exists SYS:S/RAM.info
  50.   copy > NIL: RAM:Disk.info TO SYS:S/RAM.info
  51.   if warn
  52.     echo "*n*e[32m Snapshot failed!"
  53.     skip end
  54.   endif
  55.   echo "*e[32m*n RAM-Icon snapshot successfully finished!"
  56. else
  57.   echo "*e[1;1H*e[J"  
  58.   echo "*n*n*N I could not find `RAM.info' in your S: directory! You probably"
  59.   echo " did not install *e[32mMagicWB*e[0m with the INSTALLER that was provided"
  60.   echo " with the package. Therefore the `Copy RAM-Icon' line could not"
  61.   echo " be added to the `User-Startup' and the RAM-Icon is not located"
  62.   echo " in the right place!"
  63.   echo "*n Unfortunately you have installed *e[32mMagicWB*e[0m manually thus having"
  64.   echo " wasted more time than would have been necessary if you had" 
  65.   echo " wisely used the Installer!" 
  66.   echo "*n Paradoxically enough you are using this script at the moment"
  67.   echo " which you really do not need if you have had the ability to"
  68.   echo " install *e[32mMagicWB*e[0m by yourself! Bye..."
  69.   echo "*n*n     [Return]"
  70.   set > nil: Return ?
  71.   skip end
  72. endif
  73.  
  74. wait 2
  75. lab end
  76. quit
  77.